
from django.contrib import admin
from models import *

class TopicAdmin(admin.ModelAdmin):
    fields = ['user', 'created', 'title', 'edited', 'public', 'guest_ok', 'published']
admin.site.register(Topic, TopicAdmin)

class UnBlogAdmin(admin.ModelAdmin):
    fields = ['datetime', 'text', 'published']
admin.site.register(UnBlog, UnBlogAdmin)
